var mongoose = require('mongoose');

var Schema = mongoose.Schema;

var ManagerSchema = new Schema({
    email: {
        type: String,
        unique: true
    },
    password: {
        type: String
    },
    remark: {
        type: String
    },
    create_at: {
        type: Date,
        default: Date.now
    },
    update_at: {
        type: Date,
        default: Date.now
    },
    deleted: {
        type: Boolean
    }
});

mongoose.model('Manager', ManagerSchema);